﻿/*
 * Created by SharpDevelop.
 * User: Andrew Sadler
 * Date: 07/09/2012
 * Time: 20:31
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Drawing;

namespace RRRSRoguelike.Entities.Props
{
	/// <summary>
	/// Description of Trap.
	/// Inherits <c>Tile</c>
	/// </summary>
	public class Trap : Tile
	{
		public Trap(Point position)
			: base("!", ConsoleColor.Green, position)
		{
			IsSet = false;
		}

		public bool IsSet { get; private set; }

		public void Set()
		{
			IsSet = true;
			Color = ConsoleColor.Red;
		}

		public void Disarm()
		{
			IsSet = false;
			Color = ConsoleColor.Green;
		}
	}
}
